package com.cyj.dream.test;

import cn.hutool.core.date.DateUtil;
import com.cyj.dream.test.constant.ConstantTest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 梦享云--测试模块启动类
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.test
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-15 15:27
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Slf4j
//@EnableDiscoveryClient
//@EnableResourceServer
@Configuration
@SpringBootApplication(scanBasePackages = {ConstantTest.SCAN_BASE_PACKAGES_URL})
public class DreamDemoTestApplication {

    /**
     * 项目启动方法
     *
     * @param args the input arguments
     * @date 2021-9-15
     * @author Sunny Chen
     */
    public static void main(String[] args) {
        log.info("梦享云--测试模块项目开始启动ing！======>{}", DateUtil.now());
        SpringApplication.run(DreamDemoTestApplication.class, args);
        log.info("梦享云--测试模块项目启动成功ing.......！======>{}", DateUtil.now());
    }

}
